<!DOCTYPE html>
<html>
<head>
	<title>我的订单 - 传智商城</title>
	<meta charset="UTF-8">
	<link rel="stylesheet" href="./Public/Home/css/style.css"/>
	<script src="./Public/Common/js/jquery.min.js"></script>
</head>
<body>
<?php include_once 'top.php';?>
<div class="box">
	<?php include_once 'header.php';?>

	<?php include_once 'nav.php';?>
	
<div class="usercenter">
<ul class="menu left">
	<li><a href="/User/index.html" id="User_index">个人信息</a></li>
	<li><a href="/Order/index.html" id="Order_index">我的订单</a></li>
	<li>我的关注</li>
	<li><a href="/User/addr.html" id="User_addr">收货地址</a></li>
	<li>消费记录</li>
	<li><a href="/Cart/index.html" id="Cart_index">购物车</a></li>
</ul>
<script>
$("#Order_index").addClass("curr");
</script>
	<div class="content left">我的订单
				<table class="order">
			<tr class="tr-tit"><th class="txt-left" colspan="2">订单号：ITCAST7　下单时间：2015-05-21 18:31:31　<a href="#">立即支付</a>　<a href="#" data-id="7" class="cancel">取消订单</a></th><th width="100">总价<span>￥44.50</span></th></tr>
			<tr><td class="gname"><a href="/Index/goods/id/48.html" target="_blank">JavaWeb程序开发入门</td><td class="txt-center">1件</td><td class="txt-center"><span>￥44.50</span></td></tr>			<tr><td colspan="3">收件地址：北京市,市辖区,昌平区,建材城西路金燕龙办公楼一层，收件人：张三，联系电话：13812345678</td></tr>
		</table><table class="order">
			<tr class="tr-tit"><th class="txt-left" colspan="2">订单号：ITCAST6　下单时间：2015-05-21 18:31:25　<a href="#">立即支付</a>　<a href="#" data-id="6" class="cancel">取消订单</a></th><th width="100">总价<span>￥172.80</span></th></tr>
			<tr><td class="gname"><a href="/Index/goods/id/45.html" target="_blank">PHP网站开发实例教程</td><td class="txt-center">1件</td><td class="txt-center"><span>￥48.80</span></td></tr><tr><td class="gname"><a href="/Index/goods/id/46.html" target="_blank">MySQL数据库入门</td><td class="txt-center">2件</td><td class="txt-center"><span>￥39.50</span></td></tr><tr><td class="gname"><a href="/Index/goods/id/51.html" target="_blank">HTML+CSS+JavaScript网页制作案例教程</td><td class="txt-center">1件</td><td class="txt-center"><span>￥45.00</span></td></tr>			<tr><td colspan="3">收件地址：北京市,市辖区,昌平区,建材城西路金燕龙办公楼一层，收件人：张三，联系电话：13812345678</td></tr>
		</table>	</div>
	<form method="post" id="form">
		<input type="hidden" id="target" name="id">
	</form>
	<div class="clear"></div>
</div>
<script>
	$(".cancel").click(function(){
		if(confirm('您确定要取消订单？')){
			$("#target").val($(this).attr("data-id"));
			$("#form").attr("action","/Order/cancel.html").submit();
		}
	});
</script>
	<div class="service">
		<ul><li>购物指南</li><li>配送方式</li><li>支付方式</li>
			<li>售后服务</li><li>特色服务</li><li>网络服务</li>
		</ul>
	</div>
	<div class="footer">传智商城·本项目仅供学习使用</div>
</div>
</body>
</html>